package com.zc.client.http;


import com.zc.client.http.enums.ServiceType;
import com.zc.client.http.enums.SourceType;
import com.zc.client.http.form.LoginFrom;
import org.junit.jupiter.api.Test;

/**
 * zc登录
 *
 * @author wzy
 * @Date 2025/9/28 14:41
 */

public class LoginClient {
    /**
     * 鹿可开发登录
     */
    @Test
    public void testLogin() {
        SendGiftClient sendGiftClient = new SendGiftClient(SourceType.DEV, ServiceType.LUKE_DEV, "/user/spaceship/info");
        sendGiftClient.creatPost();
        String session = sendGiftClient.fillSession("13858749873");
        System.out.println(session);
        sendGiftClient.postExecute(new LoginFrom());
    }

    /**
     * 柠檬开发登录
     */
    @Test
    public void testLeLeLogin() {
        SendGiftClient sendGiftClient = new SendGiftClient(SourceType.DEV, ServiceType.LELE_DEV, "/user/spaceship/info");
        sendGiftClient.creatPost();
        String session = sendGiftClient.fillSession("13858749873");
//        String session = sendGiftClient.fillSession("18266664444");
        System.out.println(session);
        sendGiftClient.postExecute(new LoginFrom());
    }


}
